projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7d8da
)
x11: Get display from window, not from impl-drawable's screen
author
Benjamin Otte
<otte@redhat.com>
Tue, 5 Oct 2010 23:59:21 +0000
(
01:59
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 2 Dec 2010 19:17:27 +0000
(20:17 +0100)
gdk/x11/gdkdrawable-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdrawable-x11.c
b/gdk/x11/gdkdrawable-x11.c
index f00706b6604d0bac29d89a6a222c7b69993ce8c3..73dbcd306c56f139eb8a630501c426b68c4b917c 100644
(file)
--- a/
gdk/x11/gdkdrawable-x11.c
+++ b/
gdk/x11/gdkdrawable-x11.c
@@
-122,7
+122,7
@@
gdk_x11_create_cairo_surface (GdkDrawable *drawable,
GdkVisual *visual;
visual = gdk_window_get_visual (impl->wrapper);
- return cairo_xlib_surface_create (GDK_
SCREEN_XDISPLAY (impl->screen
),
+ return cairo_xlib_surface_create (GDK_
WINDOW_XDISPLAY (impl->wrapper
),
impl->xid,
GDK_VISUAL_XVISUAL (visual),
width, height);